package com.demo.gateway.sentinel.config;

public class SysConstatnt {

    public final static String TRACE_ID = "traceId";
    // 基准order，filter基于此序号大小顺序执行，序号小的优先执行
    private final static Integer ORDER = 100;

    /**
     * Fileter 执行顺序定义
     */
    public interface FilterOrder{
        Integer FILTER_TRACE =  ORDER-10;
        Integer FILTER_ACCESS =  ORDER-9;
        Integer FILTER_VALIDATE =  ORDER-8;
    }
    /**
     * Redis key集合
     */
    public interface RedisKeyList {
        String FLOWCOUNT_TIMECOUNTRATE = "FLOWCOUNT_TIMECOUNTRATE";
    }
}
